
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.CureTaskMethod;

import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage CureTaskMethod entities.
 * 
 */
public interface CureTaskMethodDAO extends JpaDao<CureTaskMethod> {

	/**
	 * JPQL Query - findCureTaskMethodByPrimaryKey
	 *
	 */
	public CureTaskMethod findCureTaskMethodByPrimaryKey(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskMethodByPrimaryKey
	 *
	 */
	public CureTaskMethod findCureTaskMethodByPrimaryKey(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskMethodByMemo
	 *
	 */
	public Set<CureTaskMethod> findCureTaskMethodByMemo(String memo) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskMethodByMemo
	 *
	 */
	public Set<CureTaskMethod> findCureTaskMethodByMemo(String memo, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskMethodByMemoContaining
	 *
	 */
	public Set<CureTaskMethod> findCureTaskMethodByMemoContaining(String memo_1) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskMethodByMemoContaining
	 *
	 */
	public Set<CureTaskMethod> findCureTaskMethodByMemoContaining(String memo_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllCureTaskMethods
	 *
	 */
	public Set<CureTaskMethod> findAllCureTaskMethods() throws DataAccessException;

	/**
	 * JPQL Query - findAllCureTaskMethods
	 *
	 */
	public Set<CureTaskMethod> findAllCureTaskMethods(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskMethodById
	 *
	 */
	public CureTaskMethod findCureTaskMethodById(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskMethodById
	 *
	 */
	public CureTaskMethod findCureTaskMethodById(Integer id_1, int startResult, int maxRows) throws DataAccessException;

}